package org.csu.mypetstore.service;

import org.csu.mypetstore.domain.BO.Accountmessage;
import org.csu.mypetstore.domain.BO.OrderBO;
import org.csu.mypetstore.domain.BO.OrderListInfo;
import org.csu.mypetstore.domain.PO.Order;

import java.util.List;

public interface OrderService {
    public void insertOrder(OrderBO orderBO);

    public OrderBO getOrderBO(int orderId);

    public List<OrderListInfo> getOrdersByUsername(String username);

    public int getNextId(String name);

//    public List<Order> getAllAccountOrder();
//
//    public void adminDeleteOrder(int orderid , String username , String message);
//
//    public void adminSendOrder(int orderid,String userid,String message);
//
//    public List<Accountmessage> getMsgByUsername(String username);
}
